import request from '@/sheep/request';
//劳务外包
export default {
   //入职申请（1-插入数据/请求入职登记表链接）
   postEpibolyAdd: (params) =>
    request({
      url: 'api/epiboly/add',
      method: 'POST',
      	params,
      custom: {
        showSuccess: false,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: true,
        loadingMsg: '加载中',
        auth: true,
      },
    }),
    postEpibolyInviteView: (params) =>
      request({
        url: 'api/epiboly_Invite_Info/view',
        method: 'POST',
          params,
        custom: {
          showSuccess: false,
          successMsg: '',
          showError: true,
          errorMsg: '',
          showLoading: true,
          loadingMsg: '加载中',
          auth: true,
        },
      }),
    //入职申请（2-个人签字）
   postEpibolyEnrollmentSignature: (params) =>
    request({
      url: 'api/epiboly/enrollment_signature',
      method: 'POST',
      	params,
      custom: {
        showSuccess: false,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: true,
        loadingMsg: '加载中',
        auth: true,
      },
    }),
    // 入职申请（3-请求劳务合同）
    postEpibolyContract: (params) =>
        request({
          url: 'api/epiboly/request_contract',
          method: 'POST',
              params,
          custom: {
            showSuccess: false,
            successMsg: '',
            showError: true,
            errorMsg: '',
            showLoading: true,
            loadingMsg: '加载中',
            auth: true,
          },
        }),
        // 入职申请（4-合同签字）
        postEpibolyContactSignature:(params) =>
          request({
            url: 'api/epiboly/contact_signature',
            method: 'POST',
                params,
            custom: {
              showSuccess: false,
              successMsg: '',
              showError: true,
              errorMsg: '',
              showLoading: true,
              loadingMsg: '加载中',
              auth: true,
            },
          }),
    
};
